﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UploadImage.aspx.cs" Inherits="admin_UploadImage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">

        .text{font-size:0.7em; font-family:verdana}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
     <table border="0" width="360" align="center" bordercolorlight="#6699cc" bordercolordark="#FFFFFF" cellpadding="0" cellspacing="0">
        <tr>
            <td class="text" align="center"><b>Upload Picture</b></td>
        </tr>
        <tr>
            <td><hr /></td>
        </tr>
        <tr style="padding:5pt;">
            <td align="center">
                <span class="text">File:</span> <asp:FileUpload runat="server" ID="PhotoFile" Width="250" CssClass="textbox" />
                <asp:RequiredFieldValidator ControlToValidate="PhotoFile" runat="server" 
                    ErrorMessage="*" ID="RequiredFieldValidator1"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr style="padding:2pt">
            <td align="center">
                <asp:Button ID="Button1" runat="server" OnClick="Upload_Click" Text="Upload" CssClass="textbox" />
            </td>
        </tr>
         <tr>
            <td><hr /></td>
        </tr>
     </table>
    <div align="center">
        <asp:Label ID="lblMsg" runat="server" Font-Size="0.7em" ForeColor="red" Font-Names="verdana"></asp:Label>
     </div>
    </div>
    </form>
</body>
</html>
